price = float(input("苹果单价："))
weight = float(input("苹果重量："))

money = price * weight

print("苹果单价：%.2f, 苹果重量：%.2f," % (price, weight))
print(money)

if price > 0:
    print("苹果单价：%.2f," % price)
else:
    print("test")
